package com.hospital.auth.module.exception.enums;

public enum UserExpCode {
    USER_NOT_EXIST(10001, "用户不存在"),
    USER_ALREADY_EXIST(10002, "用户已存在"),
    ROLE_WRONG( 10003, "角色错误" ),
    PASSWORD_WRONG( 10004, "密码错误" ),
    CONFIRM_PASSWORD_WRONG( 10005, "确认密码错误" ),
    REGISTER_FAILED( 10006, "注册失败" );
    public final Integer code;
    public final String message;
    UserExpCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
